home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_macCloseButtonStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
1KB
|
43 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _macCloseButtonStyle
{
private static var _embed_css_mac_close_up_png_662496331:Class = _macCloseButtonStyle__embed_css_mac_close_up_png_662496331;
private static var _embed_css_mac_close_down_png_357106395:Class = _macCloseButtonStyle__embed_css_mac_close_down_png_357106395;
private static var _embed_css_mac_close_over_png_1922840949:Class = _macCloseButtonStyle__embed_css_mac_close_over_png_1922840949;
public function _macCloseButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macCloseButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".macCloseButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_mac_close_up_png_662496331;
this.overSkin = _embed_css_mac_close_over_png_1922840949;
this.downSkin = _embed_css_mac_close_down_png_357106395;
};
}
}
}
}